$def with(title, scripts = [])
<!doctype html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="$config.STATIC_PREFIX/default/css/main.css" rel="stylesheet" type="text/css" />
        $if scripts:
            $for script in scripts:
                <script type="text/javascript" src="$config.STATIC_PREFIX/scripts/$script"></script>
        <script type="text/javascript">
        var topWin = window.dialogArguments || opener || parent || top;
        </script>
    </head>
    <body>
        <div class="wp_layer">
            <div class="layTit">
                <span class="tit">$:title</span>
                <span class="layRt">
                    <a href="javascript:;" onclick="topWin.$$.fancybox.close();" class="layOff" title="关闭">关闭</a>
                </span>
            </div>
